package top.infopub.mgr.sg.dao;





import java.util.List;

import org.apache.ibatis.annotations.Param;

import top.infopub.generic.GenericDao;
import top.infopub.mgr.common.vo.RspVo;
import top.infopub.mgr.sg.vo.CitySurveyVo;
import top.infopub.model.sg.CitySurvey;

import com.github.pagehelper.Page;

/** 城市调研信息(SG_CITY_SURVEY) **/
public interface CitySurveyDao extends GenericDao<CitySurvey, String> {


	/** codegen **/
    List<CitySurveyVo> selectByPage(CitySurveyVo vo);

    /**
     * 新增城市调研
     * @param citySurvey
     * @see
     */
    void insertById(CitySurvey citySurvey);

    Page<CitySurvey> selectByDomainWhere(CitySurvey citySurvey);

    CitySurvey selectByCityName(String cityName);

    CitySurvey selectByCityNameAndId(@Param("cityName")String cityName,@Param("id") String id);

    String selectByAddressId(CitySurveyVo citySurveyVo);

    CitySurvey selectByAddress(CitySurveyVo citySurveyVo);
}
